<template>
    <p>这是一个局部组件</p>
</template>

<script>
export default {
    name:'LocalComDemo'
}
</script>

<style scoped>
p {
    color: yellow;
}
</style>